namespace java com.mama100.rpc.mdp.thrift

include "inout.thrift"
include "common.thrift"
 
/*客户品牌绑定解绑*/
service CustBrandService {  
  common.BaseResponse bind(1:inout.BindCustBrandRequest req)
  common.BaseResponse unbind(1:inout.UnBindCustBrandRequest req) 
  inout.GetCustBrandResponse getCustBrand(1:inout.GetCustBrandRequest req)
  
}
/*客户门店绑定解绑*/
service CustTerminalService {  
  common.BaseResponse bind(1:inout.BindCustTerminalRequest req)
  common.BaseResponse unbind(1:inout.UnBindCustTerminalRequest req)
  inout.GetCustTerminalResponse getCustTerminal(1:inout.GetCustTerminalRequest req)
  inout.GetCustTerminalByTerminalCodeResponse getCustTerminalByTerminalCode(1:inout.GetCustTerminalByTerminalCodeRequest req)
}

/*会员积分记录查询--批量,明细*/
service CustPointService {  
  inout.GetCustPointBatchResponse getCustPointBatch(1:inout.GetCustPointBatchRequest req)
}



/*订单报表数据*/
service OrderReportService {  
  inout.GetOrderReportResponse getOrderReport(1:inout.GetOrderReportRequest req)
}

/*会员归属*/
service CustTerminalBelongService {
  common.BaseResponse customerBelongTerminal(1:inout.GetTCustBelongTerminalRequest req)
  inout.GetTCustBelongByCustomerIdResponse getTCustBelongByCustomerId(1:inout.GetTCustBelongByCustomerIdRequest req)
  inout.GetTCustBelongByTerminalCodeResponse getTCustBelongByTerminalCode(1:inout.GetTCustBelongByTerminalCodeRequest req)
}

/*门店分佣*/
service TerminalCommissionService {
  inout.GetAggregateCommissionResponse getAggregateCommission(1:inout.GetAggregateCommissionRequest req)
  inout.GetCommissionDetailsResponse getCommissionDetails(1:inout.GetCommissionDetailsRequest req)
  inout.GetCommissionDetailByIdResponse getCommissionDetailById(1:inout.GetCommissionDetailByIdRequest req)
}




 